package MyJDBC;

public class Teacher {
    Integer tid;
    String tname;

    public Teacher(Integer tid, String tname) {
        this.tid = tid;
        this.tname = tname;
    }

    public void say(){
        System.out.println("我是带你们的：" + tname + "， 我的教师编号是：" + tid);
    }
}
